@import '../var.less';

.formula {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.formula-header {
  padding: 42px 36px 20px;
  color: @default-color;
  flex-shrink: 0;
}

.formula-name {
  font-size: 62px;
  margin-bottom: 4px;
}

.formula-label {
  font-size: 36px;
  color: #444;
}

.formula-list {
  padding: 36px 0;
  font-size: 38px;
  display: flex;
  flex-direction: column;
}

.formula-list-scroll {
  flex: 1;
  min-height: 0;

  &.has-scroll {
    box-shadow: 0 1px 2px #eee inset;
  }
}

.formula-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
  padding-bottom: 25px;
  align-items: center;
  box-shadow: inset 0 -1px 0 0 #e9ebeeff;
}

.formula-item-name {
  width: 100%;
  color: #666666;
}

.formula-item-unit {
  margin-left: 4px;
}

.formula-value {
  width: 100%;
  display: flex;
  position: relative;
  margin-top: 14px;
}

.formula-value-label {
  color: #666;
  font-size: 30px;
}

.formula-value-unit {
  font-size: 32px;
  margin-top: 16px;
}

.formula-value-input {
  width: 100%;
  height: 60px;
  font-size: 52px;
  padding: 0 24px 0 0;
  font-weight: bold;
}

.formula-remark {
  font-size: 24px;
  color: #999;
}

.formula-item-remark {
  font-size: 24px;
  color: #999;
  margin-top: 12px;
  margin-bottom: 12px;
}
